﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:Controls="clr-namespace:Microsoft.Surface.Presentation.Controls;assembly=Microsoft.Surface.Presentation" mc:Ignorable="d"
	x:Class="ScrumTable.UI.View.WinTouch.UserControls.Marker"
	x:Name="UserControl" TouchEnter="MarkerTouchEnter" MouseEnter="OnMouseEnter" 
	d:DesignWidth="100" d:DesignHeight="100"  >
	<UserControl.Resources>
		<Storyboard x:Key="Effekt" AutoReverse="False" RepeatBehavior="Forever"  Duration="00:00:05.9000000">
            <ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path_Copy1" Storyboard.TargetProperty="(UIElement.Visibility)">
                <DiscreteObjectKeyFrame KeyTime="00:00:00" Value="{x:Static Visibility.Visible}"/>
                <DiscreteObjectKeyFrame KeyTime="00:00:00.9000000" Value="{x:Static Visibility.Hidden}"/>
            </ObjectAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path_Copy1" Storyboard.TargetProperty="(FrameworkElement.Width)">
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="50"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value="100"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path_Copy1" Storyboard.TargetProperty="(FrameworkElement.Height)">
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="50"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value="100"/>
            </DoubleAnimationUsingKeyFrames>
            <DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="path_Copy1" Storyboard.TargetProperty="(FrameworkElement.Opacity)">
                <SplineDoubleKeyFrame KeyTime="00:00:00" Value="1"/>
                <SplineDoubleKeyFrame KeyTime="00:00:00.9000000" Value="0"/>
            </DoubleAnimationUsingKeyFrames>     
        </Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot"  Opacity="0.5" Width="100" Height="100" >
        <Ellipse Fill="Black" Name="CenterCircle" Margin="0" Width="40" Height="40"/>     
        <Path Stroke="Black" x:Name="path_Copy1"  Fill="Red" Stretch="Fill"  Margin="0" Data="M40,10.5 C23.7076,10.5 10.5,23.7076 10.5,40 10.5,56.2924 23.7076,69.5 40,69.5 56.2924,69.5 69.5,56.2924 69.5,40 69.5,23.7076 56.2924,10.5 40,10.5 z M40,0.5 C61.815247,0.5 79.5,18.184752 79.5,40 79.5,61.815247 61.815247,79.5 40,79.5 18.184752,79.5 0.5,61.815247 0.5,40 0.5,18.184752 18.184752,0.5 40,0.5 z" Visibility="Hidden" d:LayoutOverrides="HorizontalAlignment" Width="30" Height="30"/>
	</Grid>
</UserControl>